*{
    padding:0;
    margin:0;
}

#app{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
} 

/* 弹性布局水平布局 */
.row{
    display: flex;
    flex-direction: row;
}
/* 弹性布局垂直布局 */
.column{
    display: flex;
    flex-direction: column;
}
/*完美居中*/
.center{
    display: flex;
    justify-content: center; /*主轴居中*/
    align-items: center; /*交叉轴居中*/
}


.header{
    flex: 1;
    color: #fff;
    background: linear-gradient(135deg,#70e1f5,#ffd194);
}
.icon-home,
.icon-share{
    flex:1;
}
.music-name{
    flex:5;
}

.body{
    position: relative;
    flex: 9;
}
.blur-img{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    filter:blur(30px);
}

.disc{
    position: relative;
    width: 18rem;
    height: 18rem;
    /* 动画设置 */
    animation: cycler 10s infinite linear;
    /* 暂停动画 */
    animation-play-state: paused;
}
.disc>img{
    position: absolute;
}
.ablum-img{
    width: 60%;
}
.disc-img{
    width: 100%;
}

.playing{
    animation-play-state: running;
}

.footer{
    padding:0 1.2rem;
    flex: 2;
    background: linear-gradient(135deg,#70e1f5,#ffd194);
}
.box-progress,
.box-time{
    flex: 1;
}

.progress-bg{
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.3);
}
.progress{
    height: 100%;
    width: 25%;
    background-color: #fff;
    box-shadow: 0 0 10px #ff0;
}

.box-time>div{
    flex:1;
    color:#fff;
    font-size: .8rem;
}
.time-total{
    text-align: right;
}

.box-btns{
    flex:3;
}

button{
    background: transparent;
    border:0;
    color:#fff;
}

.btn-loop,
.btn-list{
    flex:1;
}

.btn-prev,
.btn-next{
    flex:2;
}

.btn-play-pause{
    flex:3;
}


#music-list-dialog{
    position: fixed;
    left:0;
    right:0;
    bottom:0;
    top:100%;
    padding:5px;
    background:rgba(0,0,0,0.8);
}
#btn-close{
    position: absolute;
    right: 5px;
    z-index: 999;
}
.list{
    position: absolute;
    top:5px;
    left:5px;
    right: 5px;
    bottom: 5px;
    overflow-y: scroll;
}
ul>li{
    height: 2.5rem;
    line-height: 2.5rem;
    color:#ccc;
    font-size: .8rem;
}
/* 伪类选择器 */
ul>li:not(:last-child){
    border-bottom: 1px dotted rgba(255,255,255,0.2);
}

/* 编写自定义动画 */
@keyframes cycler {
    from{
       transform: rotate(0deg);     
    }

    to{
       transform: rotate(360deg); 
    }
}

/*列表高亮*/
.highlight {
    background-color: #439aa9;
    /* 其他样式 */
}